import Vue from 'vue'
import App from './App.vue'
import './permission'
import './registerServiceWorker'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
//import "@/assets/style/reset.scss"
import '@/assets/icons/style.css'
//import '@/styles/index.scss'
import * as preventshake from './utils/preventshake';
import VueCookies from "vue-cookies";
import '@/utils/code.js'
import http from '@/api/http.js'
// 引入echarts
import BaiduMap from 'vue-baidu-map'

Vue.use(BaiduMap, {
    // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
    ak: 'UGTtfmHrG9oShl7t5OG8Cf5QOcl6CXG0'
})


Vue.use(VueCookies);
Vue.use(preventshake);
Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.prototype.$http = http
Vue.prototype.$websocketIp = 'localhost:8000'

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')